#region (c) 2009 Abdullin.com and Contributors

// Copyright (c) 2009 Abdullin.com and Contributors
// Site: http://abdullin.com/ncouch
// This code is released under the terms of the new BSD licence

#endregion

namespace NCouch.Model
{
	public sealed class DatabaseInfo
	{
		public readonly string Name;
		public readonly int DocCount;
		public readonly int DocDelCount;
		public readonly int UpdateSeq;
		public readonly bool IsCompacting;
		public readonly int DiskSize;

		public DatabaseInfo(string db_name, int doc_count, int doc_del_count, int update_seq, bool is_compacting,
			int disk_size)
		{
			Name = db_name;
			DocCount = doc_count;
			DocDelCount = doc_del_count;
			UpdateSeq = update_seq;
			IsCompacting = is_compacting;
			DiskSize = disk_size;
		}
	}
}